<%--
  Created by IntelliJ IDEA.
  User: win10
  Date: 2024/12/2
  Time: 13:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>Title</title>
<%--    建立一个ajax.jsp--%>
  <script src="${pageContext.request.contextPath}/js/jquery-3.3.1.js"></script>
  <script>
    var userList=new Array();
    userList.push({
      "username":"lisi",
      "age":23
    })
    userList.push({
      "username":"wangwu",
      "age":24
    })
    $.ajax({
      type:"POST",
      url:"${pageContext.request.contextPath}/user/quick15",
      data:JSON.stringify(userList),
      contentType:"application/json;charset=UTF-8",
    })
  </script>
</head>
<body>

</body>
</html>
